package com.bgIntlgn.client.entity.warehourse;

import yuhuibear.poat.annotations.relation.Field;
import yuhuibear.poat.annotations.relation.Table;
import yuhuibear.poat.object.bean.Bean;

/**
 * 采购入库.
 * 
 * @author yuhui
 * 
 */

@Table(name = "buy_ins", constrain = "")
public class BuyIn implements Bean {

	/**
	 * 对应的库存记录。
	 */
	@Field(name = "bill_id", type = "int8", constrain = " not null references storage_bills(id) on update cascade ")
	private Long billId;

	/**
	 * 对应的采购订单
	 */
	@Field(name = "buy_id", type = "int8 ", constrain = " not null references buys(id) on update cascade ")
	private Long buyId;

	public Long getBillId() {
		return this.billId;
	}

	public void setBillId(Long billId) {
		this.billId = billId;
	}

	public Long getBuyId() {
		return this.buyId;
	}

	public void setBuyId(Long buyId) {
		this.buyId = buyId;
	}

}
